Measuring video-content viewing

ABSTRACT

A computer-implemented method of using video viewing activity data as input to an aggregation engine built on the Hadoop MapReduce framework which calculates second-by-second video viewing activity aggregated to the analyst&#39;s choice of (a) geographic area, (b) video server, (c) video content (channel call sign, video program, etc.), or (d) viewer demographic, or any combination of these fields, for each second of the day represented in the video viewing activity data. Also calculates overall viewing for use as a denominator in calculations. The source data may be extracted from a database defined according to the Cable Television Laboratories, Inc. Media Measurement Data Model defined in “Audience Data Measurement Specification” as “OpenCable™ Specifications, Audience Measurement, Audience Measurement Data Specification” document OC-SP-AMD-I01-130502 or any similar format. These metrics provide detailed data needed to calculate information on customer viewing behavior that can drive business decisions for service providers, advertisers, and content producers.

A portion of the disclosure of this patent document contains material which is subject to copyright protection. The copyright owner has no objection to the facsimile reproduction by anyone of the patent document or the patent disclosure, as it appears in the Patent and Trademark Office patent file or records, but otherwise reserves all copyright rights whatsoever.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a related to U.S. Pat. No. 8,365,212 B1 issued on Jan. 29, 2013 entitled “SYSTEM AND METHOD FOR ANALYZING HUMAN INTERACTION WITH ELECTRONIC DEVICES THAT ACCESS A COMPUTER SYSTEM THROUGH A NETWORK” by the present inventor which is incorporated by reference in its entirety but is not admitted to be prior art.

This application is also related to U.S. Pat. No. 8,365,213 B1 issued on Jan. 29, 2013 entitled “SYSTEM AND METHOD FOR MEASURING TELEVISION ADVERTISING AND PROGRAM VIEWING AT A SECOND-BY-SECOND LEVEL AND FOR MEASURING EFFECTIVENESS OF TARGETED ADVERTISING” by the present inventor which is incorporated by reference in its entirety but is not admitted to be prior art.

This application is also related to the co-pending application U.S. application Ser. No. 13/360,704 filed on Jan. 28, 2012 entitled “SYSTEM AND METHOD FOR MEASURING LONGITUDINAL VIDEO ASSET VIEWING AT A SECOND-BY-SECOND LEVEL TO UNDERSTAND BEHAVIOR OF VIEWERS AS THEY INTERACT WITH VIDEO ASSET VIEWING DEVICES THAT ACCESS A COMPUTER SYSTEM THROUGH A NETWORK” by the present inventor which is incorporated by reference in its entirety but is not admitted to be prior art.

This application is also related to the co-pending application U.S. application Ser. No. 13/567,073 filed on Aug. 5, 2012 entitled “SYSTEM AND METHOD FOR MEASURING LINEAR, DVR, AND VOD VIDEO PROGRAM VIEWING AT A SECOND-BY-SECOND LEVEL TO UNDERSTAND BEHAVIOR OF VIEWERS AS THEY INTERACT WITH VIDEO ASSET VIEWING DEVICES DELIVERING CONTENT THROUGH A NETWORK” by the present inventor which is incorporated by reference in its entirety but is not admitted to be prior art.

This application is also related to the co-pending application U.S. application Ser. No. 13/740,199 filed on Jan. 13, 2013 entitled “SYSTEM AND METHOD FOR MEASURING DEMOGRAPHIC-BASED HOUSEHOLD ADVERTISING REACH; IMPRESSIONS, SHARE, HUT, RATING, AND CUMULATIVE AUDIENCE; AND VIDEO PROGRAM VIEWING, BASED ON SECOND-BY-SECOND HOUSE LEVEL VIEWING ACTIVITY, TO UNDERSTAND BEHAVIOR OF VIEWERS AS THEY INTERACT WITH VIDEO ASSET VIEWING DEVICES DELIVERING CONTENT THROUGH A NETWORK” by the present inventor which is incorporated by reference in its entirety but is not admitted to be prior art.

BACKGROUND—PRIOR ART

I have not found any relevant prior art at the present time.

BACKGROUND INFORMATION General Statement of Problem

With the ever increasing number of consumer choices for television viewing, it is important for advertisers, content producers, and service providers such as cable television and satellite television and internet protocol television companies to be able to accurately measure audience viewership. I have discussed this problem extensively in my prior applications. This application teaches how to analyze video viewing activity using the Hadoop MapReduce distributed computing framework.

Existing Tools for Data Analysis

In my prior applications I taught how to analyze video viewing activity (channel tuning data) using various methods that rely on loading data into arrays in the memory of a computer. In certain cases, an analyst may wish to use the Hadoop MapReduce distributed computing framework to analyze video viewing activity. I have not identified any patents that teach how to use MapReduce to solve this problem.

SUMMARY

In accordance with one embodiment, I disclose a computer-implemented method of aggregating video viewing activity data using the Hadoop MapReduce distributed computing framework. This will allow an analyst to aggregate second-by-second video viewing activity for various kinds of video content. Once this data has been aggregated, it can be used in any number of downstream analytic processes to provide detailed information on customer viewing behavior which can be used to drive business decisions for service providers, advertisers, and content producers.

Advantages

By using the Hadoop MapReduce distributed computing framework to aggregate the video viewing activity, an analyst can harness the power of hundreds or even thousands of processors working in parallel to solve the problem of aggregating video viewing activity data. This will allow an analyst to work with data sets of all sizes including extremely large data sets. The resulting files can be loaded to a relational database for various analytics similar to what I have taught in my other Patent Applications referenced previously. Additionally, the resulting files can be used in other Hadoop processes to correlate video viewing activity with other social media activity, with weather, with other programming content, and similar uses.

Definitions

The following are definitions that will aid in understanding one or more of the embodiments presented herein:

Computer readable format means any data format that can be read by a computer program or a human being as necessary. Nonlimiting examples include:

(i) formatted text files,

(ii) pipe delimited text files,

(iii) data base tables,

(iv) Extensible Markup Language (XML) messages,

(v) a printed report,

(vi) JavaScript Object Notation messages.

Data analysis computer system means a combination of one or more computers on which a Data Analysis Program or Programs or Hadoop or MapReduce processes can be executed. Nonlimiting examples include:

(i) one or more computers where video viewing activity data can be used to create video viewing detail records,

(ii) a single computer running the MapReduce distributed computing framework for parallel processing,

(iii) a cluster of many computers running the MapReduce distributed computing framework for parallel processing where many means a few to hundreds or even thousands,

(iv) a Hadoop cluster of computers.

Data analysis computer of known type means any commonly available computer system running a commonly known operating system. Nonlimiting examples include:

(i) a standard personal computer running WINDOWS 7 Professional operating system from MICROSOFT® Corporation,

(ii) a computer running the UNIX operating system,

(iii) a computer running the Linux operating system,

(iv) a computer in a cloud computing environment,

(v) a mainframe computer with its operating system.

Data analysis program means a computer program or programs that are able to execute on a Data analysis computer of known type. Nonlimiting examples include:

(i) a Pig Latin script running MapReduce,

(ii) a JAVA program running MapReduce,

(iii) a Python script running MapReduce,

(iv) a COBOL program.

Demographic information means any data item that can describe a characteristic of a viewer or a subscriber or a household associated with a viewer who is operating the video asset viewing device. Nonlimiting examples include income, ethnicity, gender, age, marital status, location, geographic area, postal code, census data, occupation, social grouping, family status, any proprietary demographic grouping, segmentation, credit score, dwelling type, homeownership status, property ownership status, rental status, vehicle ownership, tax rolls, credit card usage, religious affiliation, sports interest, political party affiliation, cable television subscriber type, cable television subscriber package level, and cell phone service level.

Device Characteristic means any feature or capability or aspect or descriptive qualifier or identifier of a video viewing device. Nonlimiting examples include that this may identify the type of device such as a set-top box, a tablet, a smart phone; a capability of the device such as the ability to record video or to support multiple viewing windows, or a manufacturer identifier.

Device Type is a subset of Device Characteristic where device type may, as a nonlimiting example, identify the type of device such as a set-top box, a tablet, a smart phone.

Geographic information means any service area or any network hierarchy designation or marketing area or other designated area used by a cable television company or a satellite television company or IP Television delivery company or video asset delivery system. The boundary or description of a geographic area is defined based on the needs of the service provider. Nonlimiting examples include a Market in a cable company network, a Headend in a cable company network, a Hub in a cable company network, a census tract, a cell tower identifier, a service area for satellite TV, advertising zone, a zip code, or some other geographic identifier. The geographic information may then be used to identify the location of a video asset viewing device or geographic information about the about the house associated with the device or the location of the device at the time of the viewer interaction in the event that the viewer interaction occurs in a location different than the location of the house associated with the device.

Network means any computer network. Nonlimiting examples include:

(i) a cable television network,

(ii) a cellular telephony network,

(iii) hybrid fiber coax system,

(iv) a satellite television network,

(v) a wi-fi network,

(vi) any means that supports communication among video asset viewing devices or electronic devices or computers or computer systems.

Pipe delimited text files means data files where the fields are separated by the “|” character.

Set-top box means a video asset viewing device that receives external signals and decodes those signals into content that can be viewed on a television screen or similar display device. The signals may come from a cable television system, a satellite television system, a network, or any other suitable means. A set-top box may have one or more tuners. The set-top box allows the user to interact with it to control what is displayed on the television screen. The set-top box is able to capture the commands given by the user and then transmit those commands to another computer system. For purposes of this application, stating that a set-top box tunes to a channel is equivalent to stating that a tuner in a set-top box has tuned to a channel. A set-top box may also play back previously recorded video content.

STB means Set-top box.

Tuner means a tuner in a Set-top box.

Tuner index means an identifier of a tuner in a Set-top box.

Video asset means any programming content that may be viewed and/or heard. A Video Program may contain multiple Video Assets. Nonlimiting examples of Video Asset include:

(i) advertisements or commercials,

(ii) movies,

(iii) sports programs,

(iv) news casts,

(v) music,

(vi) television programs,

(vii) video recordings.

Video asset viewing device means any electronic device that may be used either directly or indirectly by a human being to interact with video content where the video content is provided by a cable television system or a satellite television system or a computer system accessed through a network. Nonlimiting examples include: Gaming station, web browser, MP3 Player, Internet Protocol phone, Internet Protocol television, mobile device, mobile smart phone, set-top box, satellite television receiver, set-top box in a cable television network, set-top box in a satellite television system, cell phone, personal communication device, personal video recorder, personal video player, two-way interactive service platforms, personal computer, tablet device.

Video server delivering video content through a network means any computer system, any individual piece of computer equipment or electronic gear, or any combination of computer equipment or electronic gear which enables or facilitates the viewer interaction with the video asset viewing device. Nonlimiting examples include:

(i) cable television system,

(ii) cable television switched digital video system,

(iii) cellular phone network,

(iv) satellite television system,

(v) web server,

(vi) any individual piece of computer equipment or electronic gear,

(vii) any combination of computer equipment or electronic gear.

Video viewing activity means any identifiable activity that a Video asset viewing device operator may do in regard to a Video asset viewing device and where such activity can be captured by the video asset viewing device or by the video server delivering video content through a network that supports the device. Nonlimiting examples include:

(i) power on/power off, open web page, close web page,

(ii) channel up/channel down/channel selection, play video content on web browser,

(iii) volume up/volume down/mute/unmute,

(iv) any trick play such as fast forward, rewind, pause

(v) recording video content,

(vi) playing back recorded video content,

(vii) invoking a menu, choosing a menu option,

(viii) any response to a screen prompt

(ix) playing live video content.

Video viewing activity means any measurements or aggregations produced by the MapReduce distributed computing framework as it aggregates video viewing detail records or any value calculated by a Data Analysis Program as part of this process.

Viewer means the human being causing a Viewer interaction; the user of a Set-top box or a Video asset viewing device.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 provides an overview of an exemplary process for collecting viewer interaction data derived from a plurality of viewers interacting with video content that was delivered on a plurality of video asset viewing devices delivering content through a network and then loading that data to a Media Measurement Data Base.

FIG. 2 illustrates an exemplary media measurement process from creation of the video viewing activity data file to creation of the various aggregated video viewing activity files which can then be used in downstream analytic processes.

FIG. 3 illustrates an exemplary record layout for a Video Viewing Activity Data File 130 record along with sample data, according to one embodiment.

FIG. 4 illustrates an exemplary record layout for a Video Viewing Detail Data File 150 record along with sample data, according to one embodiment.

FIG. 5 illustrates an exemplary record layout for an Aggregated Video Viewing Geo+Server+Content+Demo File 220 record along with sample data, according to one embodiment.

FIG. 6 Illustrates an exemplary record layout for an Aggregated Video Viewing Geo+Server+Content File 230 record along with sample data, according to one embodiment.

FIG. 7 Illustrates an exemplary record layout for an Aggregated Video Viewing Content File 240 record along with sample data, according to one embodiment.

FIG. 8 Illustrates an exemplary record layout for an Aggregated Video Viewing File 250 record along with sample data, according to one embodiment.

DETAILED DESCRIPTION OF THE DRAWINGS

When reading the information below, it can be appreciated that these are merely samples of table layouts, format and content, and many aspects of these tables may be varied or expanded within the scope of the embodiment. The table layouts, field formats and content, algorithms, and other aspects are what I presently contemplate for this embodiment, but other table layouts, field formats and content, algorithms, etc. can be used. The algorithms are samples and various aspects of the algorithms may be varied or expanded within the scope of the embodiment.

In one embodiment the MapReduce Aggregation Engine 200 can be implemented on computer clusters running a standard Hadoop distribution from Apache under the Linux operating system. The MapReduce Aggregation Engine 200 can be implemented in JAVA or Pig. The reader may find more information about various Apache open source projects from The Apache Software Foundation at http://apache.org. Pig is a dataflow scripting language used to run data flows on Hadoop. Pig uses the Hadoop Distributed File System and the Hadoop processing system which is MapReduce. Pig is an Apache open source project. The reader may find more information about Pig at http://pig.apache.org. Those skilled in the art will readily recognize these tools.

Note on Media Measurement Data Model

Cable Television Laboratories, Inc. has published an “Audience Data Measurement Specification” as “OpenCable™ Specifications, Audience Measurement, Audience Measurement Data Specification” having Document Control Number “OC-SP-AMD-I01-130502” copyright © Cable Television Laboratories, Inc. 2013 which contains a Media Measurement Data Model database design which can be used as a source of data for the MapReduce Aggregation Engine 200 which I teach how to build in this Application. The teaching in my present application can be implemented in conjunction with that Media Measurement Data Model or with any number of data models as long as the required input data is provided as described herein.

Additionally, my MapReduce Aggregation Engine 200 creates files which may be used to load additional tables in a Media Measurement Data Model such as the one published by Cable Television Laboratories, Inc. These files are described in FIGS. 5 to 8.

Note: Numbering in the Drawings—The numbers in the drawings are usually, but not always, in sequential order.

FIG. 1 provides an overview of an exemplary process for collecting viewer interaction data derived from a plurality of viewers interacting with video content that was delivered on a plurality of video asset viewing devices delivering content through a network and then loading that data to a Media Measurement Data Base. This figure illustrates several viewers interacting with video asset viewing devices to view content which was delivered to those devices across a network and then to collect viewing activity from those devices.

In this nonlimiting example, the purpose is not to describe in detail the operations of video content delivery network or a data collection process, but simply to show how the data that is collected from that system can be made available to my MapReduce Aggregation Engine 200.

It begins with Viewer Viewing Linear Content 9200 who is interacting with a set-top box 9210 and television 9220 as he views linear content. The set-top box 9210 interacts with a Video Content Delivery System 9250 which delivers the content across a Network 9230.

It continues with Viewer Viewing DVR Content 9202 who is interacting with a set-top box 9210 and television 9220 as he interacts with DVR content recording content and playing back recorded content using various modes including trick plays. The set-top box 9210 interacts with a Video Content Delivery System 9250 which delivers the content across a Network 9230.

It continues with Viewer Viewing VOD Content 9203 who is interacting with a set-top box 9210 and television 9220 as he interacts with VOD content playing the content using various modes including trick plays. The set-top box 9210 interacts with a Video Content Delivery System 9250 which delivers the content across a Network 9230.

It continues with Viewer viewing video content using tablet, smart phone, IP TV, or other video video viewing device 9204 who is interacting with a variety of Video Viewing Devices 9212, including but not limited to tablet, smart phone, IP TV, PC, etc. The video viewing device interacts with a Video Content Delivery System 9250 which delivers the content across a Network 9230.

Video Content Delivery System 9250 then interacts with a Viewer Interaction Data, Data Collection System 9260 which collects all manner of viewer interaction data including Linear viewing including time-shifted linear viewing, Digital Video Recorder recording and playback/viewing, and Video on Demand viewing. The Viewer Interaction Data, Data Collection System 9260 then processes the data as needed to load it to a Media Measurement Data Base 100. The data in the Media Measurement Data Base 100 can then be used as input to my Aggregation Engine 200 as described in FIG. 2.

FIG. 2 illustrates an exemplary media measurement process from creation of the Video Viewing Activity Data File 130 to creation of the various aggregated video viewing activity files (Parts 220, 230, 240, 250) which can then be provided to downstream analytic processes as shown by Provide Files to Downstream Analytic Processes 210.

As noted previously, the video viewing activity may be sourced from a Media Measurement Data Base such as the one described in the Cable Television Laboratories, Inc. specification. The populating of the Media Measurement Database 100 is beyond the scope of this application and so only brief remarks will be made in reference to that. There are video viewing data collection systems that are commonly used in the industry for collecting channel tuning or video viewing activity data including switched digital video systems, set top box applications, internet protocol video viewing applications, and other video viewing applications. These systems enable the collection of the video viewing events which can be loaded to a Media Measurement Database 100. From such a database, Video Viewing Activity Data can be extracted in a format similar to that shown in FIG. 3 Video Viewing Activity Data File 130.

Proceeding with the review of FIG. 2, the process begins with Media Viewing Measurement Process Overview 110. The first step is to extract the video viewing events as per Extract Video Viewing Activity Data from Media Measurement Data Base 120. Those skilled in the art will have no difficulty creating a database query or similar process to extract data from a Media Measurement Database 100 or other source and making it available in a format similar to that defined in Video Viewing Activity Data File 130. The file structure is defined in FIG. 3 Video Viewing Activity Data File 130 which describes an exemplary format for the input video viewing activity data. As part of the extract process, the system may perform the following activities to prepare the data for processing:

-   -   Discard tuning events having a duration less than a specified         number of seconds     -   Truncate tuning events having a duration greater than a         specified number of seconds     -   Map channels such that viewing of a high definition and a         standard definition version of the same channel are assigned the         same channel call sign

Other data preparation activities can be done according to business needs. Those with reasonable skill in the art will readily recognize how to perform these activities.

Proceeding with the review of FIG. 2, the Video Viewing Activity Data File 130 is then passed to a Data Explosion Process 140. In this process the individual tuning events are exploded such that there is one record created for every second of the tune duration represented in the video viewing activity record. Additionally, the detail keys and the tune-in datetime and tune-out datetime and tune duration can be discarded at this time because the MapReduce process will aggregate across those detail keys. In an alternative embodiment, any field that is not used in the aggregation process could be omitted from the Video Viewing Activity Data File 130 file. I have included these additional fields to provide a comprehensive picture recognizing that one can always drop the fields that they choose not to use.

The computer algorithm that the Data Explosion Process 140 runs to create the Video Viewing Detail File 150 is as follows:

Looping Process to Create the Video Viewing Detail Records:

For each input record in Video Viewing Activity Data File 130

-   -   PERFORM VARYING SUB         -   FROM TUNE_IN_SECOND_OF_DAY 1090         -   BY 1         -   UNTIL SUB>TUNE_OUT_SECOND_OF_DAY 1110             -   MOVE GEOGRAPHIC_ID 1010 to GEOGRAPHIC_ID 1210             -   MOVE VIDEO_SERVER_ID 1020 to VIDEO_SERVER_ID 1220             -   MOVE VIDEO_CONTENT_ID 1030 to VIDEO_CONTENT_ID 1230             -   MOVE DEMOGRAPHIC_ID 1070 to DEMOGRAPHIC_ID 1240             -   MOVE SUB to SECOND_OF_DAY_WHEN_TUNED 1250             -   MOVE 1 to COUNT_OF_1 1260             -   WRITE Video Viewing Detail File 150

End Loop

Note:

The following fields were optionally included in Video Viewing Activity Data File 130 for data validation purposes. During Data Explosion Process 140 they are dropped so that they do not pass forward to Video Viewing Detail File 150.

-   -   VIDEO_ASSET VIEWING_DEVICE_ID 1040     -   HOUSE_ID 1050     -   VIEWER_ID 1060     -   TUNE_IN_DATE_TIME 1080     -   TUNE_OUT_DATE_TIME 1100     -   TUNE_DURATION_SECONDS 1120.

The explosion process can be run in several ways to achieve the same result. I have included two alternative embodiments.

Alternative Embodiment #1

If the tune duration is provided, the looping construct can be done as follows:

For each input record in Video Viewing Activity Data File 130

-   -   PERFORM VARYING SUB         -   FROM TUNE_IN_SECOND_OF_DAY 1090         -   BY 1         -   UNTIL SUB>(TUNE_IN_SECOND_OF_DAY 1090+             -   TUNE_DURATION_SECONDS 1120)             -   MOVE GEOGRAPHIC_ID 1010 to GEOGRAPHIC_ID 1210             -   MOVE VIDEO_SERVER_ID 1020 to VIDEO_SERVER_ID 1220             -   MOVE VIDEO_CONTENT_ID 1030 to VIDEO_CONTENT_ID 1230             -   MOVE DEMOGRAPHIC_ID 1070 to DEMOGRAPHIC_ID 1240             -   MOVE SUB to SECOND_OF_DAY_WHEN_TUNED 1250             -   MOVE 1 to COUNT_OF_1 1260             -   WRITE Video Viewing Detail File 150

End Loop

Alternative Embodiment #2

If the tune-in date and time and the tune-out date and time are represented in UNIX epoch format, the looping construct can be done as follows:

For each input record in Video Viewing Activity Data File 130

-   -   PERFORM VARYING SUB         -   FROM TUNE_IN_DATE_TIME 1080         -   BY 1         -   UNTIL SUB>TUNE_OUT_DATE_TIME 1100             -   MOVE GEOGRAPHIC_ID 1010 to GEOGRAPHIC_ID 1210             -   MOVE VIDEO_SERVER_ID 1020 to VIDEO_SERVER_ID 1220             -   MOVE VIDEO_CONTENT_ID 1030 to VIDEO_CONTENT_ID 1230             -   MOVE DEMOGRAPHIC_ID 1070 to DEMOGRAPHIC_ID 1240             -   MOVE SUB to SECOND_OF_DAY_WHEN_TUNED 1250             -   MOVE 1 to COUNT_OF_1 1260             -   WRITE Video Viewing Detail File 150

End Loop

Note: In this case, the SECOND_OF_DAY_WHEN_TUNED 1250 will represent a UNIX EPOCH time stamp.

Note: In each case the Video Viewing Detail File 150 records can be written directly to the Hadoop Distributed File System (HDFS) so that the video viewing detail records are ready for use by the MapReduce distributed computing framework.

Note:

The Video Viewing Activity Data File 130 can be provided by the Extract 120 process in any computer readable format including, but not limited to, database tables, flat files, JSON messages, and XML messages. Alternatively, such video viewing events can be collected directly from the source without the need for a Media Measurement Database 100. In such a case, those events can still be provided as video viewing activity in a format similar to that shown in FIG. 3 for use by the Data Explosion Process 140.

For all of the above embodiments, at the completion of Data Explosion Process 140, one record has been written to the Video Viewing Detail File 150 for each second of the tune duration represented in the video viewing activity record. The Sample Data in FIG. 3 shows a non-limiting example of the input data for the Data Explosion Process 140. The Sample Data in FIG. 4 shows a non-limiting example of the data produced by the Data Explosion Process 140. The reader will note that FIG. 4 sample data contains one record for every second of the tuning activity represented in the input data.

Those skilled in the art will readily recognize that the Data Explosion Process 140 is suitable for running in parallel on multiple computers simultaneously with each process creating Video Viewing Detail File records that can be fed into the MapReduce Aggregation Engine 200.

Proceeding with the review of FIG. 2, the Video Viewing Detail File 150 data residing in HDFS is now ready for use by the MapReduce Aggregation Engine 200. The MapReduce Aggregation Engine 200 runs various word count algorithms against the incoming data. Each word count algorithm will aggregate the data to a separate level as shown in FIG. 2 (Parts 220, 230, 240, 250) with the details shown in FIGS. 5-8.

The MapReduce process can be coded in JAVA or in Pig. I have coded this in Pig. The code below can be used to create the four output files reviewed in the Drawings (FIGS. 5 to 8):

-   -   Aggregated Video Viewing Geo+Server+Content+Demo File 220     -   Aggregated Video Viewing Geo+Server+Content File 230     -   Aggregated Video Viewing Content File 240     -   Aggregated Video Viewing File 250.

Using these four outputs, the reader will have a comprehensive set of aggregated video viewing metrics. The reader should recognize that the aggregation logic shown below provides several illustrations of what can be done. Additional aggregation combinations will be obvious to those skilled in the art.

The reader will note that I have used very descriptive names in the Pig Latin code below so as to convey the meaning of what is happening. Much shorter names could be used to produce the same result.

Creating the Aggregated Video Viewing Geo+Server+Content+Demo File 220

The Pig Latin coding to create the Aggregated Video Viewing Geo+Server+Content+Demo File 220 is shown next.

This summarization aggregates viewing activity for each combination of geographic identifier and server identifier and content identifier and demographic identifier for each second of the aggregation period. The result provides viewing metrics for each combination of geographic area and video server and content and demographic identifier as represented in the input data. As a nonlimiting example, a Video Content Identifier may be a channel call sign; this summary then provides a count of how many devices were tuned to that channel within each geographic area (a city or a region) and within each video server and for each demographic group. As an example, how many devices in the DENV Geo area served by SERVER-01 were tuned to ABC from Demo code 40-60 k during each second of the time period. A second example, how many devices in the DENV Geo area served by SERVER-01 were tuned to Program Monday Night Football from Demo code 40-60 k during each second of the time period.

Video_Viewing_Detail_Data=LOAD ‘Video-Viewing-Detail-File’ 150 as

-   -   (GEOGRAPHIC_ID:chararray, 1210     -   VIDEO_SERVER_ID:chararray, 1220     -   VIDEO_CONTENT_ID:chararray, 1230     -   DEMOGRAPHIC_ID:chararray, 1240     -   SECOND_OF_DAY_WHEN_TUNED:chararray, 1250     -   COUNT_OF_1:chararray); 1260

Aggregated_Video_Geo_Server_Content_Demo_Viewing=

-   -   GROUP Video_Viewing_Detail_Data         -   by (GEOGRAPHIC_ID, 1410             -   VIDEO_SERVER_ID, 1420             -   VIDEO_CONTENT_ID, 1430             -   DEMOGRAPHIC_ID, 1440             -   SECOND_OF_DAY_WHEN_TUNED); 1450

Count_of_Aggregated_Video_Geo_Server_Content_Demo_Viewing_by_Second=

-   -   FOREACH Aggregated_Video_Geo_Server_Content_Demo_Viewing         -   GENERATE group             -   as Aggregated_Video_Geo_Server_Content_Demo_Viewing,                 -   COUNT(Video_Viewing_Detail_Data)                 -    as AggrGeoServerContentDemoViewingThisSecond;

STORE

-   -   Count_of_Aggregated_Video_Geo_Server_Content_Demo_Viewing_by_Second         1460         -   INTO             ‘Aggregated_Video_Viewing_Geo_Server_Content_Demo_File’; 220

Note: A sample of the file created by the aggregation is shown in FIG. 5 Sample Data.

Creating the Aggregated Video Viewing Geo+Server+Content File 230

The Pig Latin coding to create the Aggregated Video Viewing Geo+Server+Content File 230 is shown next.

This summarization aggregates viewing activity for each combination of geographic identifier and server identifier and content identifier for each second of the aggregation period. The result provides viewing metrics for each combination of geographic area and video server and content id as represented in the input data. As a nonlimiting example, a Video Content Identifier may be a channel call sign; this summary then provides a count of how many devices were tuned to that channel within each geographic area (a city or a region) and within each video server. As an example, how many devices in the DENV Geo area served by SERVER-01 were tuned to ABC during each second of the time period.

Video_Viewing_Detail_Data=LOAD ‘Video-Viewing-Detail-File’ 150 as

-   -   (GEOGRAPHIC_ID:chararray, 1210     -   VIDEO_SERVER_ID:chararray, 1220     -   VIDEO_CONTENT_ID:chararray, 1230     -   DEMOGRAPHIC_ID:chararray, 1240     -   SECOND_OF_DAY_WHEN_TUNED:chararray, 1250     -   COUNT_OF_1:chararray); 1260

Video_Viewing_Server_Content_Data=

-   -   FOREACH Video_Viewing_Detail_Data         -   GENERATE GEOGRAPHIC_ID, 1210             -   VIDEO_SERVER_ID, 1220             -   VIDEO_CONTENT_ID, 1230             -   SECOND_OF_DAY_WHEN_TUNED, 1250             -   COUNT_OF_1; 1260

Aggregated_Video_Geo_Server_Content_Viewing=

-   -   GROUP Video_Viewing_Geo_Server_Content_Data         -   by (GEOGRAPHIC_ID, 1610             -   VIDEO_SERVER_ID, 1620             -   VIDEO_CONTENT_ID, 1630             -   SECOND_OF_DAY_WHEN_TUNED); 1650

Count_of_Aggregated_Video_Geo_Server_Content_Viewing_by_Second=

-   -   FOREACH Aggregated_Video_Geo_Server_Content_Viewing         -   GENERATE group as             Aggregated_Video_Geo_Server_Content_Viewing,             -   COUNT(Video_Viewing_Geo_Server_Content_Data)                 -   as AggrGeoServerContentViewingThisSecond;

STORE Count_of_Aggregated_Video_Geo_Server_Content_Viewing_by_Second 1660

-   -   INTO ‘Aggregated_Video_Viewing_Geo_Server_Content_File’; 230

Note: A sample of the file created by the aggregation is shown in FIG. 6 Sample Data.

Creating the Aggregated Video Viewing Content File 240

The Pig Latin coding to create the Aggregated Video Viewing Content File 240 is shown next. This summarization aggregates viewing across all geographic identifiers, all servers, and all demographic groups for each second of the aggregation period. The result provides viewing metrics for the content (channel) across all geographic areas, video servers, and demographic groups as represented in the input data. As a nonlimiting example, a Video Content Identifier may be a channel call sign; this summary then provides a count of how many devices were tuned to that channel during each second of the viewing period.

Video_Viewing_Detail_Data=LOAD ‘Video-Viewing-Detail-File’ 150 as

-   -   (GEOGRAPHIC_ID:chararray, 1210     -   VIDEO_SERVER_ID:chararray, 1220     -   VIDEO_CONTENT_ID:chararray, 1230     -   DEMOGRAPHIC_ID:chararray, 1240     -   SECOND_OF_DAY_WHEN_TUNED:chararray, 1250     -   COUNT_OF_1:chararray); 1260

Video_Viewing_Content_Data=

-   -   FOREACH Video_Viewing_Detail_Data         -   GENERATE VIDEO_CONTENT_ID, 1230             -   SECOND_OF_DAY_WHEN_TUNED, 1250             -   COUNT_OF_1; 1260

Aggregated_Video_Content_Viewing=

-   -   GROUP Video_Viewing_Content_Data         -   by (VIDEO_CONTENT_ID, 1830             -   SECOND_OF_DAY_WHEN_TUNED); 1850

Count_of_Aggregated_Video_Content_Viewing_by_Second=

-   -   FOREACH Aggregated_Video_Content_Viewing         -   GENERATE group as Aggregated_Video_Content_Viewing,             -   COUNT(Video_Viewing_Content_Data)                 -   as AggrContentViewingThisSecond;

STORE Count_of_Aggregated_Video_Content_Viewing_by_Second 1860

-   -   INTO ‘Aggregated_Video_Viewing_Content_File’; 240

Note: A sample of the file created by the aggregation is shown in FIG. 7 Sample Data.

Creating the Aggregated Video Viewing File 250

The Pig Latin coding to create the Aggregated Video Viewing File 250 is shown next. This summarization aggregates viewing activity across all geographic identifiers, all servers, all content, and all demographic groups for each second of the aggregation period. The result provides viewing metrics across all geographic areas, video servers, content ids, and demographic groups as represented in the input data. As a nonlimiting example, this aggregation will provide insight into total viewing activity during each second of the measurement period. This is creating the denominator which can be used in calculations which measure the percentage of the total viewing audience that a particular piece of content earned.

Video_Viewing_Detail_Data=LOAD ‘Video-Viewing-Detail-File’ 150 as

-   -   (GEOGRAPHIC_ID:chararray, 1210     -   VIDEO_SERVER_ID:chararray, 1220     -   VIDEO_CONTENT_ID:chararray, 1230     -   DEMOGRAPHIC_ID:chararray, 1240     -   SECOND_OF_DAY_WHEN_TUNED:chararray, 1250     -   COUNT_OF_1:chararray); 1260

Video_Viewing_Data=

-   -   FOREACH Video_Viewing_Detail_Data         -   GENERATE SECOND_OF_DAY_WHEN_TUNED, 1250             -   COUNT_OF_1; 1260

Aggregated_Video_Viewing=

-   -   GROUP Video_Viewing_Data by SECOND_OF_DAY_WHEN_TUNED; 2050

Count_of_Aggregated_Video_Viewing_by_Second=

-   -   FOREACH Aggregated_Video_Viewing         -   GENERATE group as Aggregated_Video_Viewing,             -   COUNT(Video_Viewing_Data) as AggrViewingThisSecond;

STORE Count_of_Aggregated_Video_Viewing_by_Second 2060

-   -   INTO ‘Aggregated_Video_Viewing_File’; 250

Note: A sample of the file created by the aggregation is shown in FIG. 8 Sample Data.

FIG. 3 illustrates an exemplary record layout for a Video Viewing Activity Data File 130 record formatted for use as input to the Data Explosion Process 140, according to one embodiment.

There is Summary Information followed by the Data Structure including field definitions. After the Data Structure there is a set of Sample Data.

FIG. 4 illustrates an exemplary record layout for a Video Viewing Detail File 150 record which is output from the Data Explosion Process 140, according to one embodiment. This file is then ready for input to the MapReduce Aggregation Engine 200.

There is Summary Information followed by the Data Structure including field definitions. After the Data Structure there is a set of Sample Data.

Overview of FIGS. 5 to 8

FIGS. 5 to 8 review several outputs which are created by the MapReduce Aggregation Engine 200. There are multiple ways to aggregate the data depending upon the desired result. In FIGS. 5 to 8 I have shown several options. A person skilled in the art will readily identify additional aggregations options that fall within the spirit and scope of this Application.

FIG. 5 illustrates an exemplary record layout for a Aggregated Video Viewing Geo+Server+Content+Demo File 220 record which is output from the MapReduce Aggregation Engine 200, according to one embodiment. This file is ready for input to downstream analytics processes.

There is Summary Information followed by the Data Structure including field definitions. After the Data Structure there is a set of Sample Data.

FIG. 6 Illustrates an exemplary record layout for a Aggregated Video Viewing Geo+Server+Content File 230 record which is output from the MapReduce Aggregation Engine 200, according to one embodiment. This file is ready for input to downstream analytics processes.

There is Summary Information followed by the Data Structure including field definitions. After the Data Structure there is a set of Sample Data.

FIG. 7 Illustrates an exemplary record layout for a Aggregated Video Viewing Content File 240 record which is output from the MapReduce Aggregation Engine 200, according to one embodiment. This file is ready for input to downstream analytics processes.

There is Summary Information followed by the Data Structure including field definitions. After the Data Structure there is a set of Sample Data.

FIG. 8 Illustrates an exemplary record layout for a Aggregated Video Viewing File 250 record which is output from the MapReduce Aggregation Engine 200, according to one embodiment. This file is ready for input to downstream analytics processes.

There is Summary Information followed by the Data Structure including field definitions. After the Data Structure there is a set of Sample Data.

Alternative Embodiments

Although the description above contains much specificity, this should not be construed as limiting the scope of the embodiments but as merely providing illustrations of some of several embodiments. As a nonlimiting example, additional qualifiers may be added along with geographic identifiers, video server identifiers, video content identifiers, and demographic identifiers. Additional aggregations can be done using other combinations of these identifiers.

Scope of Viewer Interaction Data Loaded

I presently contemplate that the MapReduce Aggregation Engine 200 will process viewer interaction data for whatever set of viewing activity is provided to it. This may be one Video Program at a time, one hour of the day, a primetime television viewing period, an entire 24 hour day of viewing, a week of viewing, or another time period decided by the analyst. Another embodiment may simply process viewing activity within the context of a single program, or a single advertisement, or some other combination.

Identifiers for Data

I presently contemplate using a combination of numeric and mnemonics for the various identifiers such as geographic identifiers, video server identifiers, video content identifiers, and demographic identifiers, and other similar fields, but another embodiment could use only numeric values as identifiers with links to reference tables for the descriptions of the numeric identifiers or only mnemonic identifiers.

Data Explosion Process

I presently contemplate that the Data Explosion Process 140 will generate one record for each second of the tuning activity. Another embodiment may generate one record for each video frame of viewing activity. In this case, the second of the day for tune-in and tune-out would be replaced by a frame number of the tune-in and a frame number of the tune-out.

Yet another embodiment may generate records at a one minute level with the count being the number of seconds tuned to the content during that minute (in this case there would be 1,440 possible one minute intervals during a 24 hour day).

Yet another embodiment may generate records at a 10-second level with the count being the number of seconds tuned to the content during that 10-second interval (in this case there would be 8,640 possible 10-second intervals during a 24 hour day).

Programming Algorithm Scope

I presently contemplate executing the algorithms described herein separately in some sequence, but another embodiment could combine multiple simple algorithms into fewer complex algorithms.

Receiving Date and Time Information

I presently contemplate that the various file formats which provide date and time information will provide an actual date and time whether represented in a format such as YYYY-MM-DD HH:MM:SS AM/PM, or Epoch time (seconds since Jan. 1, 1970). Another embodiment may provide the tune-in and tune-out times as seconds relative to the true beginning of the program content. Any of these embodiments can be used as input to create the metrics.

I presently contemplate receiving all of the date and time values in local time, but another embodiment may provide these in Coordinated Universal Time (UTC time).

General Information

I presently contemplate using variables having the data types and field sizes shown, but another embodiment may use variables with different data types and field sizes to accomplish a similar result.

I presently contemplate tracking viewing activity at the granularity of one second, but another embodiment may track viewing activity at a finer granularity, perhaps half-second, or tenth-second, or millisecond. Yet another embodiment may receive data at a granularity finer than one second and round to the nearest second for use by the MapReduce Aggregation Engine 200.

I presently contemplate using record layouts similar to those defined herein, but another embodiment may use a different record layout or record layouts to accomplish a similar result. As a nonlimiting example, another embodiment may use database tables or other objects instead of record layouts similar to those I have defined herein to accomplish a similar result while still working within the spirit and scope of this disclosure.

Implementation Information

I presently contemplate using the generic Apache Hadoop distribution, but another embodiment may use a different Hadoop distribution.

I presently contemplate using Linux operating system, but another embodiment may use a different operating system.

I presently contemplate using the Pig along with the Pig Latin dataflow language, but another embodiment may use Java or Python or some other language alone or in combination with Pig Latin.

General Remarks

It will be apparent to those of ordinary skill in the art that various changes and modifications may be made which clearly fall within the scope of the embodiments revealed herein. In describing an embodiment illustrated in the drawings, specific terminology has been used for the sake of clarity. However, the embodiments are not intended to be limited to the specific terms so selected, and it is to be understood that each specific term includes all technical equivalents which operate in a similar manner to accomplish a similar purpose.

In general, it will be apparent to one of ordinary skill in the art that various embodiments described herein, or components or parts thereof, may be implemented in many different embodiments of software, firmware, and/or hardware, or modules thereof. The software code or specialized control hardware used to implement some of the present embodiments is not limiting of the present embodiment. For example, the embodiments described hereinabove may be implemented in computer software using any suitable computer software language type such as, for example, Python of JAVA using, for example, conventional or object-oriented techniques. Such software may be stored on any type of suitable computer-readable medium or media such as, for example, a magnetic or optical storage medium. Thus, the operation and behavior of the embodiments are described in Pig Latin dataflow language purely as a matter of convenience. It is clearly understood that artisans of ordinary skill would be able to design software and control hardware to implement the embodiments presented in the language of their choice based on the description herein with only a reasonable effort and without undue experimentation.

The processes associated with the present embodiments may be executed by programmable equipment, such as computers. Software or other sets of instructions that may be employed to cause programmable equipment to execute the processes may be stored in any storage device, such as, for example, a computer system (non-volatile) memory, a compact disk, an optical disk, magnetic tape, or magnetic disk. Furthermore, some of the processes may be programmed when the computer system is manufactured or via a computer-readable medium.

It can also be appreciated that certain process aspects disclosed herein may be performed using instructions stored on a computer-readable memory medium or media that direct a computer or computer system to perform process steps. A computer-readable medium may include, for example, memory devices such as diskettes, compact discs of both read-only and read/write varieties, optical disk drives, memory sticks, and hard disk drives. A computer-readable medium may also include memory storage that may be physical, virtual, permanent, temporary, semi-permanent and/or semi-temporary.

In various embodiments disclosed herein, a single component or algorithm may be replaced by multiple components or algorithms, and multiple components or algorithms may be replaced by a single component or algorithm, to perform a given function or functions. Except where such substitution would not be operative to implement the embodiments disclosed herein, such substitution is within the scope presented herein. Thus any element expressed herein as a means or a method for performing a specified function is intended to encompass any way of performing that function including, for example, a combination of elements that performs that function. Therefore, any means or method that can provide such functionalities may be considered equivalents to the means or methods shown herein.

It can be appreciated that the “data analysis computer system” may be, for example, any computer system capable of running MapReduce, whether it be a one node system or a system with thousands of nodes.

While various embodiments have been described herein, it should be apparent, however, that various modifications, alterations and adaptations to those embodiments may occur to persons skilled in the art with the attainment of some or all of the advantages described herein. The disclosed embodiments are therefore intended to include all such modifications, alterations and adaptations without departing from the scope and spirit of the embodiments presented herein as set forth in the appended claims.

Accordingly, the scope should be determined not by the embodiments illustrated, but by the appended claims and their legal equivalents.

CONCLUSIONS, RAMIFICATIONS, AND SCOPE

In my previous Applications, I have identified numerous Conclusions, Ramifications, and Scope items. Many of those are similar for this application. The Conclusions, Ramifications, and Scope items from my U.S. Pat. No. 8,365,212 B1 issued on Jan. 29, 2013, and my U.S. Pat. No. 8,365,213 B1 issued on Jan. 29, 2013, and my U.S. application Ser. No. 13/360,704 filed on Jan. 28, 2012, and my U.S. application Ser. No. 13/567,073 filed on Aug. 5, 2012 and my U.S. application Ser. No. 13/740,199 filed on Jan. 13, 2013 are included herein by reference but not admitted to be prior art.

In this discussion below, I will focus on new ramifications introduced by this Application.

From the description above, a number of advantages of some embodiments of my MapReduce Aggregation Engine 200 and its supporting processes become evident:

In this specification I have taught how to measure or analyze video viewing activity at a second-by-second level using the Hadoop MapReduce framework. Within this context, I have taught how to measure such viewing activity within multiple levels: (a) a geographic area, (b) a video server, (c) a video content identifier, and (d) a demographic grouping. Additionally, I have taught how to measure viewing across all of these to provide denominators for calculating percentage of viewing audience. All of these metrics can be calculated at a second-by-second level for each second of the video content.

Once the metrics are calculated, the resulting files can be loaded to a database for longitudinal analysis. As a nonlimiting example, the program level metrics can be tracked to identify week-to-week activity. Then the more detailed metrics can provide additional insight into the causes behind the overall trends.

The ability to produce these metrics using the Hadoop MapReduce framework provides a new tool for data analysts to use in understanding viewing behavior.

This method of using the Hadoop MapReduce framework to calculate second-by-second viewing activity by aggregating individual viewing records that were created by exploding the viewing period into individual records where each record represents one second of viewing activity is contrary to the teaching of those who work with start time and duration (seconds viewed). Thus I am able to solve problems previously found insolvable when limited to using the existing techniques. I am able to provide metrics that could not be produced using existing techniques.

Subsequent Usage of the Metrics

The metrics produced by the MapReduce Aggregation Engine 200 readily lend themselves to dimensional analysis using contemporary data warehouse methods. I have reviewed this extensively in my prior applications.

The metrics produced by the MapReduce Aggregation Engine 200 can be loaded to a data warehouse to support additional longitudinal analysis beyond what is done by the Engine 200. Thus we can readily envision a myriad of uses for the metrics produced by the MapReduce Aggregation Engine 200.

Numerous additional metrics can readily be identified by those skilled in the art. Additionally, numerous additional uses for the metrics identified herein will be readily evident to those skilled in the art.

Summary

In accordance with one embodiment, I have disclosed a computer-implemented method of using video viewing activity data as input to an aggregation engine built on the Hadoop MapReduce distributed computing framework for parallel processing which calculates second-by-second video viewing activity aggregated to the analyst's choice of (a) geographic area, (b) video server, (c) video content (channel call sign, video program, etc.), or (d) viewer demographic, or any combination of these fields, for each second of the day represented in the video viewing activity data. The engine also calculates overall viewing for use as a denominator in calculations. The source data may be extracted from a database defined according to the Cable Television Laboratories, Inc. Media Measurement Data Model defined in “Audience Data Measurement Specification” as “OpenCable™ Specifications, Audience Measurement, Audience Measurement Data Specification” document OC-SP-AMD-I01-130502 or any similar format. These metrics provide detailed data needed to calculate information on customer viewing behavior that can drive business decisions for service providers, advertisers, and content producers. The ability to use the Hadoop MapReduce framework to aggregate this data will meet pressing needs for detailed audience viewership information that is not presently available and thus the metrics will be of great value to the industry. 

I claim:
 1. A method comprising: receiving, by a computing system, data indicating a plurality of video-viewing events, wherein each video-viewing event of the plurality of video-viewing events is associated with a time range during which a video-asset-viewing device output a video asset for display; determining, by the computing system, based on the plurality of video-viewing events, and for each interval of a plurality of equally sized intervals of the video asset, an amount of time of the each interval during which the video-asset-viewing device output the video asset for display; and determining, by the computing system and based on the amount of time determined for each interval of the plurality of equally sized intervals of the video asset, a video-viewing metric.
 2. The method of claim 1, wherein the determining the amount of time comprises determining a number of predefined increments of time of the each interval during which the video-asset-viewing device output the video asset for display.
 3. The method of claim 1, wherein the determining the amount of time comprises determining a number of frames of the video asset that the video-asset-viewing device output for display during the each interval.
 4. The method of claim 1, wherein the computing system comprises a cluster of associated nodes, and wherein the method further comprises: determining, for each interval of the plurality of equally sized intervals of the video asset, a node, of the cluster of associated nodes, on which to store the amount of time determined for each interval of the plurality of equally sized intervals of the video asset.
 5. The method of claim 1, wherein the amount of time determined for a first interval of the plurality of equally sized intervals of the video asset is less than the first interval.
 6. The method of claim 1, wherein the amount of time determined for a first interval of the plurality of equally sized intervals of the video asset comprises a count of a number of seconds, of the first interval, during which the video-asset-viewing device output the video asset for display.
 7. The method of claim 1, further comprising: receiving data indicating a second plurality of video-viewing events, wherein each video-viewing event of the second plurality of video-viewing events is associated with a time range during which a second video-asset-viewing device output the video asset for display; and determining, based on the second plurality of video-viewing events and for each interval of the plurality of equally sized intervals of the video asset, an amount of time of the each interval during which the second video-asset-viewing device output the video asset for display.
 8. The method of claim 1, further comprising: based on determining that the video-asset-viewing device is associated with one or more attributes, incrementing a content viewing count, associated with a first interval of the plurality of equally sized intervals of the video asset, by the amount of time determined for the first interval of the plurality of equally sized intervals of the video asset.
 9. The method of claim 8, wherein the one or more attributes comprise one or more of a geographic attribute, a content source attribute, or a viewer demographic attribute.
 10. The method of claim 8, further comprising: based on adding the content viewing count and one or more content viewing counts associated with one or more second intervals of the plurality of equally sized intervals of the video asset, determining a total viewing count; and determining a ratio between the content viewing count and the total viewing count.
 11. An apparatus comprising: one or more processors; and memory storing instructions that, when executed by the one or more processors, cause the apparatus to: receive data indicating a plurality of video-viewing events, wherein each video-viewing event of the plurality of video-viewing events is associated with a time range during which a video-asset-viewing device output a video asset for display; determine, based on the plurality of video-viewing events and for each interval of a plurality of equally sized intervals of the video asset, an amount of time of the each interval during which the video-asset-viewing device output the video asset for display; and determine, based on the amount of time determined for each interval of the plurality of equally sized intervals of the video asset, a video-viewing metric.
 12. The apparatus of claim 11, wherein the instructions, when executed by the one or more processors, cause the apparatus to determine the amount of time by determining a number of frames of the video asset that the video-asset-viewing device output for display during the each interval.
 13. The apparatus of claim 11, wherein the instructions, when executed by the one or more processors, further cause the apparatus to: receive data indicating a second plurality of video-viewing events, wherein each video-viewing event of the second plurality of video-viewing events is associated with a time range during which a second video-asset-viewing device output the video asset for display; and determine, based on the second plurality of video-viewing events and for each interval of the plurality of equally sized intervals of the video asset, an amount of time of the each interval during which the second video-asset-viewing device output the video asset for display.
 14. The apparatus of claim 11, wherein the instructions, when executed by the one or more processors, further cause the apparatus to: based on determining that the video-asset-viewing device is associated with one or more attributes, increment a content viewing count, associated with a first interval of the plurality of equally sized intervals of the video asset, by the amount of time determined for the first interval of the plurality of equally sized intervals of the video asset.
 15. The apparatus of claim 14, wherein the instructions, when executed by the one or more processors, further cause the apparatus to: based on adding the content viewing count and one or more content viewing counts associated with one or more second intervals of the plurality of equally sized intervals of the video asset, determine a total viewing count; and determine a ratio between the content viewing count and the total viewing count.
 16. A system comprising: a first computing device comprising: one or more processors; and memory storing instructions that, when executed by the one or more processors, cause the first computing device to: receive data indicating a plurality of video-viewing events, wherein each video-viewing event of the plurality of video-viewing events is associated with a time range during which a video-asset-viewing device output a video asset for display; determine, based on the plurality of video-viewing events and for each interval of a plurality of equally sized intervals of the video asset, an amount of time of the each interval during which the video-asset-viewing device output the video asset for display; and determine, based on the amount of time determined for each interval of the plurality of equally sized intervals of the video asset, a video-viewing metric; and a second computing device comprising: one or more second processors; and memory storing second instructions that, when executed by the one or more second processors, cause the second computing device to send at least a portion of the data.
 17. The system of claim 16, wherein the instructions, when executed by the one or more processors, cause the first computing device to determine the amount of time by determining a number of frames of the video asset that the video-asset-viewing device output for display during the each interval.
 18. The system of claim 16, wherein the instructions, when executed by the one or more processors, further cause the first computing device to: receive data indicating a second plurality of video-viewing events, wherein each video-viewing event of the second plurality of video-viewing events is associated with a time range during which a second video-asset-viewing device output the video asset for display; and determine, based on the second plurality of video-viewing events and for each interval of the plurality of equally sized intervals of the video asset, an amount of time of the each interval during which the second video-asset-viewing device output the video asset for display.
 19. The system of claim 16, wherein the instructions, when executed by the one or more processors, further cause the first computing device to: based on determining that the video-asset-viewing device is associated with one or more attributes, increment a content viewing count, associated with a first interval of the plurality of equally sized intervals of the video asset, by the amount of time determined for the first interval of the plurality of equally sized intervals of the video asset.
 20. The system of claim 19, wherein the instructions, when executed by the one or more processors, further cause the first computing device to: based on adding the content viewing count and one or more content viewing counts associated with one or more second intervals of the plurality of equally sized intervals of the video asset, determine a total viewing count; and determine a ratio between the content viewing count and the total viewing count. 